package com.lianzhihui.romeex.database.data;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * Copyright (C), 2019-2020
 * FileName: Rm_Assets
 * Author: ZhaoFeng
 * Date: 2020/10/22 17:40
 * Description: 币种资产
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
public class Rm_Assets extends RealmObject {
    @PrimaryKey
    private String totalKey;
    private String address;
    private String coinName;
    private String currencyLogo;
    private long balanceNum;

    /**
     * 唯一识别  钱包地址+币种名称
     */
    public String getTotalKey() {
        return totalKey;
    }

    public void setTotalKey(String totalKey) {
        this.totalKey = totalKey;
    }

    /**
     * 钱包地址
     */
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 币种名称
     */
    public String getCoinName() {
        return coinName;
    }

    public void setCoinName(String coinName) {
        this.coinName = coinName;
    }

    /**
     * 币种Logo
     */
    public String getCurrencyLogo() {
        return currencyLogo;
    }

    public void setCurrencyLogo(String currencyLogo) {
        this.currencyLogo = currencyLogo;
    }

    /**
     * 币种数量
     */
    public long getBalanceNum() {
        return balanceNum;
    }

    public void setBalanceNum(long balanceNum) {
        this.balanceNum = balanceNum;
    }
}
